set_property PACKAGE_PIN W7 [get_ports {digi[7]}]
set_property PACKAGE_PIN W6 [get_ports {digi[6]}]
set_property PACKAGE_PIN U8 [get_ports {digi[5]}]
set_property PACKAGE_PIN V8 [get_ports {digi[4]}]
set_property PACKAGE_PIN U5 [get_ports {digi[3]}]
set_property PACKAGE_PIN V5 [get_ports {digi[2]}]
set_property PACKAGE_PIN U7 [get_ports {digi[1]}]
set_property PACKAGE_PIN V7 [get_ports {digi[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[7]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[6]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[5]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[4]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {digi[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {EN[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {EN[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {EN[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {EN[0]}]
set_property PACKAGE_PIN W4 [get_ports {EN[3]}]
set_property PACKAGE_PIN V4 [get_ports {EN[2]}]
set_property PACKAGE_PIN U4 [get_ports {EN[1]}]
set_property PACKAGE_PIN U2 [get_ports {EN[0]}]
set_property PACKAGE_PIN W5 [get_ports clk100m]
set_property PACKAGE_PIN J2 [get_ports clk_ext]
# set_property PACKAGE_PIN U16 [get_ports ext_led]
set_property PACKAGE_PIN L3 [get_ports CO_hrs]
set_property PACKAGE_PIN W19 [get_ports clear]
set_property PACKAGE_PIN G2 [get_ports buzzer]
set_property PACKAGE_PIN V17 [get_ports buzz_state]
set_property PACKAGE_PIN V16 [get_ports work_state]
set_property PACKAGE_PIN T17 [get_ports set_but]
set_property IOSTANDARD LVCMOS33 [get_ports buzz_state]
set_property IOSTANDARD LVCMOS33 [get_ports work_state]
set_property IOSTANDARD LVCMOS33 [get_ports set_but]
set_property IOSTANDARD LVCMOS33 [get_ports buzzer]
set_property IOSTANDARD LVCMOS33 [get_ports clear]
set_property IOSTANDARD LVCMOS33 [get_ports clk100m]
# set_property IOSTANDARD LVCMOS33 [get_ports ext_led]
set_property IOSTANDARD LVCMOS33 [get_ports clk_ext]
set_property IOSTANDARD LVCMOS33 [get_ports CO_hrs]


create_generated_clock -source [get_pins clk_ext] 
set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets clk_ext_IBUF] 


# create_generated_clock -source [get_pins ext_led] 
# set_property CLOCK_DEDICATED_ROUTE TRUE [get_nets ext_led_IBUF] 
